package com.xhu.water_supply.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import tk.mybatis.spring.annotation.MapperScan;

@ComponentScan(basePackages = {"com.xhu.water_supply"})
@SpringBootApplication
@MapperScan(basePackages = "com.xhu.water_supply.mapper")
@EnableWebMvc
public class WaterSupplyCompanyBackWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WaterSupplyCompanyBackWebApplication.class, args);
        //swagger访问路径：http://localhost:8080/swagger-ui/index.html
    }

}
